home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbtabbrowse.man < prev    next >
Text File  |  1993-04-22  |  2KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89              dbtabbrowse
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  dbtabbrowse
  6.  
  7.   FUNCTION:
  8.        Determine whether  the  specified  table  is  updatable  via  the
  9.        DB-Library browse-mode facilities.
  10.  
  11.   SYNTAX:
  12.        DBBOOL dbtabbrowse(dbproc, tabnum)
  13.  
  14.        DBPROCESS *dbproc;
  15.        int       tabnum;
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   dbtabbrowse             Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.   COMMENTS:
  28.  
  29.        o dbtabbrowse() is one of the DB-Library  browse  mode  routines.
  30.          See the Introduction for a detailed discussion of browse mode.
  31.        o dbtabbrowse() provides a way to identify browsable tables.   It
  32.          is  useful  when  examining  ad hoc queries prior to performing
  33.          browse mode updates based on them.  If the query has been hard-
  34.          coded into the program, this routine is obviously unnecessary.
  35.  
  36.        o For a table to be considered "browsable," it must have a unique
  37.          index and a timestamp column.
  38.        o The  application  can  call  dbtabbrowse()   any   time   after
  39.          dbresults().
  40.  
  41.        o Example 7 in the DB-Library  Reference  Supplement  contains  a
  42.          call to dbtabbrowse().
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89              dbtabbrowse
  47.   ______________________________________________________________________
  48.  
  49.   PARAMETERS:
  50.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  51.            connection for a particular front-end/SQL Server process.  It
  52.            contains all the information that DB-Library uses  to  manage
  53.            communications and data between the front end and SQL Server.
  54.        tabnum -  The number of the table of interest,  as  specified  in
  55.            the  SELECT  statement's FROM clause.  Table numbers start at
  56.            1.
  57.  
  58.   RETURNS:
  59.        TRUE or FALSE.
  60.  
  61.   SEE ALSO:
  62.        dbcolbrowse, dbcolsource, dbqual, dbtabcount,  dbtabname,  dbtab-
  63.        source, dbtsnewlen, dbtsnewval, dbtsput
  64.  
  65.  
  66.  
  67.